function showImage()
{
  if(!isset($_REQUEST['name'])){
    $this->setMessage('Nieprawidowe wywoanie.');
    return ACTION_FAILED;
  }
  
  $image = $_REQUEST['name'] . '.jpg';
  $description_file = $_REQUEST['name'] . '.txt';
  
  if(!$description = file_get_contents($this->descriptionspath.$description_file)){
    $description = 'Brak opisu';
  }
  
  $message = $this->getMessage();
  $imagespath = $this->imagespath;
  
  include 'tmpl/image.tpl.php';
}